#ifndef APP_SYS_H
#define APP_SYS_H

#include "main.h"

extern volatile unsigned int app_sys_ticks;
unsigned int app_sys_crc32_cal(unsigned int buff[], unsigned int length);
unsigned char time_after(unsigned int current, unsigned int expire);
unsigned char time_before(unsigned int current, unsigned int expire);


unsigned short hex_data_to_hexstr(const unsigned char *data, unsigned short data_length, char *dst);
unsigned short int_value_to_intstr(int value, char dst[]);

#endif